import http from '../utils/http.js'
/**
 * 查询历史监控数据
 */
export const listRecordApi = (data, pageNum, size) => {
  return http.post(`/washer/record/list/${pageNum}/${size}`, data)
}
/**
 * 查询历史监控数据
 */
export const exportExcelApi = (data) => {
  return http.post(
    `/washer/record/exportExcel`,
    data,
    { responseType: 'blob' },
    {
      headers: {
        'content-type': 'multipart/from-data'
      }
    }
  )
}
